<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
            "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>



<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<META name="GENERATOR" content="hevea 1.08">
<LINK rel="stylesheet" type="text/css" href="umsroot.css">
<TITLE>
Socket Domains
</TITLE>
</HEAD>
<BODY >
<A HREF="umsroot129.html"><IMG SRC ="contents_motif.gif" ALT="Up"></A>
<A HREF="umsroot131.html"><IMG SRC ="next_motif.gif" ALT="Next"></A>
<HR>

<H2 CLASS="section"><A NAME="htoc292">21.1</A>&nbsp;&nbsp;Socket Domains</H2>
Currently there are two available domains, <TT>unix</TT> and
<TT>internet</TT>.
The communication in the <TT>unix</TT> domain is limited
to a single machine running under an Unix operating system, and the sockets 
are associated
to files in this machine's file system.<BR>
<BR>
The <TT>internet</TT> domain can be used to connect any two machines
which are connected through the network. It can also connect two processes
on the same machine.
The address of a socket is then identified
by the host name and the port number.
The host name is the same as obtained e.g. with the
<B>get_flag(hostname, Host)</B>.
The port identifies the channel on the host which is used
for the communication. This is available under both Unix and Windows
operating systems.<BR>
<BR>
<HR>
<A HREF="umsroot129.html"><IMG SRC ="contents_motif.gif" ALT="Up"></A>
<A HREF="umsroot131.html"><IMG SRC ="next_motif.gif" ALT="Next"></A>
</BODY>
</HTML>
